package com.example.demo.infra.mapper;

import com.example.demo.domain.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {
    Course selectCourseById(Integer id);

    List<Course> selectCourseList();

    Integer insertCourse(Course course);

    Integer updateCourse(Course course);

    Integer deleteCourseById(Integer id);
}
